const API = require('./lib/index')

const api = new API({})

;(async () => {
  const token =
    'eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ7XCJyZWFsTmFtZVwiOlwi57O757uf566h55CG5ZGYXCIsXCJvcmdTZXFcIjpcImQ3MGE4Y2ZiLWVhNWYtNDQyZC1hNTU4LWRkNjExNTEwMGQ4MFwiLFwidXNlck5hbWVcIjpcImFkbWluXCIsXCJ1c2VySWRcIjpcInUxXCJ9IiwiZXhwIjoxNzQ2Nzc3MzI1LCJpYXQiOjE3NDQxODUzMjV9.YqscujRN3KQAc6_niKVNlYkzZGN_NYzAjvKmjOCQXIkedr36HiZ4aBSP9G_pqM8nanbL3tFoegvUxnqwPG_h0A'
  const res = await api.login(token)

  console.log('res', res)
})()
